package Sum_large_num;

import java.util.Random;

public class main {

	public static void main(String[] args) {
			int num = 6;
			int[] array_1=new int[num];
			int[] array_2=new int[num];
			int[] array_3=new int[num];
			Random random = new Random();
			
			for(int i=0;i<num;i++)
			{
				array_1[i]=random.nextInt(10);
				array_2[i]=random.nextInt(10);
			}
			for(int i=0;i<num;i++)
				System.out.print(array_1[i]);
			System.out.print("\n+\n");
			for(int i=0;i<num;i++)
				System.out.print(array_2[i]);
			System.out.print("\n______\n");
			if(work_class.Sum_stolb(array_1, array_2, array_3, num, num, num)==1)
				for(int i=0;i<num;i++)
					System.out.print(array_3[i]);
	}

}
